package com.exsun.gateway.jt809.config;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
public class Jt809Config {
    @Value("${jt809.ftp.server}")
    private String jt809FtpServer;

    @Value("${jt809.ftp.port}")
    private int jt809FtpPort;

    @Value("${jt809.ftp.userName}")
    private String jt809FtpUserName;

    @Value("${jt809.ftp.password}")
    private String jt809FtpPassword;

    @Value("${jt809.ftp.basePath}")
    private String jt809FtpBasePath;

    @Value("${jt809.ftp.timeOut}")
    private int jt809FtpTimeOut;

    @Value("${platformInfo.videoServerIp}")
    private String videoServerIp;

    @Value("${platformInfo.videoHttpServerPort}")
    private int videoHttpServerPort;

    @Value("${platformInfo.videoTcpServerPort}")
    private int videoTcpServerPort;

    @Value("${http.request.url}")
    private String httpRequestUrl;

    @Value("${http.get.url}")
    private String httpGetUrl;

    public String getJt809FtpServer() {
        return jt809FtpServer;
    }

    public void setJt809FtpServer(String jt809FtpServer) {
        this.jt809FtpServer = jt809FtpServer;
    }

    public int getJt809FtpPort() {
        return jt809FtpPort;
    }

    public void setJt809FtpPort(int jt809FtpPort) {
        this.jt809FtpPort = jt809FtpPort;
    }

    public String getJt809FtpUserName() {
        return jt809FtpUserName;
    }

    public void setJt809FtpUserName(String jt809FtpUserName) {
        this.jt809FtpUserName = jt809FtpUserName;
    }

    public String getJt809FtpPassword() {
        return jt809FtpPassword;
    }

    public void setJt809FtpPassword(String jt809FtpPassword) {
        this.jt809FtpPassword = jt809FtpPassword;
    }

    public String getJt809FtpBasePath() {
        return jt809FtpBasePath;
    }

    public void setJt809FtpBasePath(String jt809FtpBasePath) {
        this.jt809FtpBasePath = jt809FtpBasePath;
    }

    public int getJt809FtpTimeOut() {
        return jt809FtpTimeOut;
    }

    public String getVideoServerIp() {
        return videoServerIp;
    }

    public void setVideoServerIp(String videoServerIp) {
        this.videoServerIp = videoServerIp;
    }

    public int getVideoHttpServerPort() {
        return videoHttpServerPort;
    }

    public void setVideoHttpServerPort(int videoHttpServerPort) {
        this.videoHttpServerPort = videoHttpServerPort;
    }

    public int getVideoTcpServerPort() {
        return videoTcpServerPort;
    }

    public void setVideoTcpServerPort(int videoTcpServerPort) {
        this.videoTcpServerPort = videoTcpServerPort;
    }

    public String getHttpRequestUrl() {
        return httpRequestUrl;
    }

    public void setHttpRequestUrl(String httpRequestUrl) { this.httpRequestUrl = httpRequestUrl; }


    public String getHttpGetUrl() { return httpGetUrl; }

    public void setHttpGetUrl(String httpGetUrl) { this.httpGetUrl = httpGetUrl; }


}
